package com.peng.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.peng.model.TActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peng.model.TUser;
import com.peng.query.ActivityQuery;

import java.util.List;

/**
* @author Love-ovo
* @description 针对表【t_activity(市场活动表)】的数据库操作Service
* @createDate 2025-03-14 21:28:14
*/
public interface TActivityService extends IService<TActivity> {

    IPage<TActivity> selectActivityIPage(ActivityQuery activityQuery, Page<TActivity> tActivityPage);

    TActivity getActivityById(Integer id);

    List<TActivity> getOngoingActivity();
}
